(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives
	     '("melpa" . "https://melpa.org/packages/"))

(package-initialize)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

;; PACKAGE INSTALLS
(use-package which-key
  :ensure t
  :init
  (which-key-mode))


(use-package xah-fly-keys
  :ensure t)
(require 'xah-fly-keys)
(xah-fly-keys-set-layout "qwerty") ; required
(xah-fly-keys 1)

;; (use-package tangotango-theme
  ;; :ensure t)
;; (use-package zenburn-theme
  ;; :ensure t)
;; (use-package solarized-theme
  ;; :ensure t)
;; (use-package spacemacs-theme
  ;; :ensure t)
;; (use-package monokai-theme
  ;; :ensure t)
(use-package naquadah-theme
  :ensure t)


(use-package beacon
  :ensure t
  :init
  (beacon-mode 1))

(use-package clips-mode
  :ensure t)


;; Preferences

(setq ring-bell-function 'ignore)

;; Highlight line
(when window-system (global-hl-line-mode t))
;; (set-face-background 'hl-line "gray15")

;; Prettify symbols
(when window-system (global-prettify-symbols-mode t))


